ORG 1000
   
MOX CX,0064H
MOV SI,0x1600  
   
XXX:
MOV AX,0064h
SUB AX,CX
MOV [SI],AX
DEC CX
JNZ XXX


MOV CX,0000h
MOV SI, 0X1600
MOV DI, 0X2000

XXX:

    1F1:
        CMP CX,0050H
        JE ELSE1
            
            1F2:
              CMP [SI]
            
            1F2ELSE:
                    
                    
            1F2END: 
            
        
        JMP 1F1END
    
    1F1ELSE:   

    1F1END: